package com.yitao.cms.dto.product;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Auther: wwl
 * @Date: 2018/12/28 0028 15:40
 * @Description:
 */
@Data
public class ProductSkuAddDto {
    /**
     * 关联的商品id
     */
    @ApiModelProperty("关联的商品id")
    private Long productId;
    /**
     * product_code	商品code
     *
     * @mbggenerated
     */
    @ApiModelProperty("关联的商品code")
    private String productCode;

    /**
     * product_name	商品名称 冗余字段
     *
     * @mbggenerated
     */
    @ApiModelProperty("关联的商品名")
    private String productName;
    /**
     * 规格名称
     */
    @ApiModelProperty("一级规格名称")
    private String parentAttrSpecName;


    /**
     * 规格值
     */
    @ApiModelProperty("一级规格值")
    private List<ProductParentAttrSpec> parentAttrSpecList;
    /**
     * 规格名称
     */
    @ApiModelProperty("规格名称")
    private String attrSpecName;

    /**
     * 规格值
     */
    @ApiModelProperty("规格值")
    private List<String> attrSpecValueList;
    /**
     * is_delete	是否被删除 0 否 1 是
     *
     * @mbggenerated
     */
    @ApiModelProperty("是否被删除 0 否 1 是")
    private Boolean isDelete;

    /**
     * is_sale	是否被上架 0 否 1 是
     *
     * @mbggenerated
     */
    @ApiModelProperty("是否被上架 0 否 1 是")
    private Boolean isSale;

    /**
     * is_enable	是否可用 0 否 1 是
     *
     * @mbggenerated
     */
    @ApiModelProperty("是否可用 0 否 1 是")
    private Boolean isEnable;

    /**
     * 创建人
     */
    @ApiModelProperty("创建人")
    private Long createBy;


    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;


    /**
     * 最后更新人
     */
    @ApiModelProperty("最后更新人")
    private Long lastUpdateBy;


    /**
     * 最后修改时间
     */
    @ApiModelProperty("最后修改时间")
    private Date lastUpdateTime;

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getParentAttrSpecName() {
        return parentAttrSpecName;
    }

    public void setParentAttrSpecName(String parentAttrSpecName) {
        this.parentAttrSpecName = parentAttrSpecName;
    }

    public List<ProductParentAttrSpec> getParentAttrSpecList() {
        return parentAttrSpecList;
    }

    public void setParentAttrSpecList(List<ProductParentAttrSpec> parentAttrSpecList) {
        this.parentAttrSpecList = parentAttrSpecList;
    }

    public String getAttrSpecName() {
        return attrSpecName;
    }

    public void setAttrSpecName(String attrSpecName) {
        this.attrSpecName = attrSpecName;
    }

    public List<String> getAttrSpecValueList() {
        return attrSpecValueList;
    }

    public void setAttrSpecValueList(List<String> attrSpecValueList) {
        this.attrSpecValueList = attrSpecValueList;
    }

    public Boolean getDelete() {
        return isDelete;
    }

    public void setDelete(Boolean delete) {
        isDelete = delete;
    }

    public Boolean getSale() {
        return isSale;
    }

    public void setSale(Boolean sale) {
        isSale = sale;
    }

    public Boolean getEnable() {
        return isEnable;
    }

    public void setEnable(Boolean enable) {
        isEnable = enable;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getLastUpdateBy() {
        return lastUpdateBy;
    }

    public void setLastUpdateBy(Long lastUpdateBy) {
        this.lastUpdateBy = lastUpdateBy;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }
}
